<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="robots" content="index,follow,snippet,archive">
<meta name="keyword" content="<?php if(isset($meta_keyword)) echo $meta_keyword; else echo $setting->meta_keyword;?>">
<meta name="description" content="<?php if(isset($meta_description))  echo $meta_description; else echo $setting->meta_description;?>">
<meta name="distribution" content="global">

<meta name="language" content="Vietnamese">
<meta name="language" content="Vietnamese">
<meta name="revisit-after" content="1 day">
<meta name="document-rating" content="General">
<meta name="document-distribution" content="Global">
<link rel="SHORTCUT ICON" href="<?php echo base_url()?>public/butbi/images/nss.ico"/>
<title><?php echo $title ;?> </title>

<link rel="stylesheet" type="text/css" href="<?php echo base_url()?>public/butbi/css/style.css">
<script type="text/javascript" src="<?php echo base_url()?>public/butbi/js/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>public/butbi/js/menu.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>public/butbi/js/script.js"></script>
<link href="<?php echo base_url();?>public/css/tooltip.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo base_url();?>public/js/tootip.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>public/js/jquery.validate.js"></script>

		<style type="text/css">
			#slider {
				width:950px;
				height:250px;
				
				/*IE bugfix*/
				padding:0;
				margin:0;
			}
			#slider li { list-style:none; }
			
			#page {
				width:950px;
				margin-top:5px;
			}
			.style1 {color: #000000}
			.style3 {color: #82015f}
        </style>
</head>
<script>
    $().ready(function(){
        var link = "<?php echo base_url().'butbi/'?>";
        $('.act').click(function(){
            var id = $(this).attr('id'); 
                  
            
            $.ajax({
                type : "GET",
                dataType : "json",
                url : "<?php echo site_url('butbi/cart/add_ajax')?>",
                data : 'id_product=' + id + '&qty=1',
                success : function(result){
                    $('#item_cart').html(result.total);
                  alert(result.error);
                  $('html, body').animate({ scrollTop: 0 }, 'slow');
                    return false;
                }
            });
        });
        
        
        
    });
</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-<?php echo $setting->google_code;?>-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<?php flush(); ?> 



<body>

		<div id="top">
        		<div class="top">
  				<a class="logo" title="<?php echo $setting->logo_alt?>" href="<?php echo base_url()?>"><img alt="<?php echo $setting->title_tv;?>" title="<?php echo $setting->title_tv;?>" src="<?php echo base_url()?><?php echo $setting->logo;?>" /></a>
  				<div id="navigation_area">
                            <ul class="blue">
                            <li><a class="current" title="trang chu," href="<?php echo base_url()?>"><span><span>Trang chủ</span></span></a></li>
                            <?php foreach($pages as $row) :?>
                            <li><a href="<?php echo site_url('dich-vu/'.$row->url_page)?>"><span><span><?php echo $row->heading;?></span></span></a></li>
                            
                            <?php endforeach; ?>
                            
                            <li><a href="<?php echo site_url('lien-he')?>"><span><span>Liên hệ</span></span></a></li>
                            </ul>
                        </div>
                   		<div class="s-box">
                        
                        <?php echo $this->load->view('butbi/cart/show_iterm')?>
                        <style>
							.cart{
								 position:absolute;
                                top:105px;
								font-size:14px;
								font-weight:bold;
                                
							}
                            #form_search{
                                position:absolute;
                                top:105px;
                                right:5px;
								
                               
                            }
                        </style>
                        <form action="<?php echo base_url().'butbi/search/result'?>" method="get" id="form_search">
                        	
                            <input type="text" style="background: white; border:0px; width:238px; height:25px;" value="Nhập từ khóa tìm kiếm" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" name="p" class="textsearch"> 
                          <a  href="javascript:void(0)" onclick="$('#form_search').submit()"><img align="right" width="25" height="25" src="<?php echo base_url()?>public/butbi/images/Start-Menu-Search-icon.png" /></a>
                        </form>
                       
                        
                        
                        
            	           
                        </div>
          
                </div>
        
     
        </div>
        <div style="clear:both"></div>
		
         <div style="clear:both"></div>
        
    </div>
		